package com.wuliu.system.service;

import java.util.List;
import com.wuliu.system.domain.TspDrivingDetail;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 行车记录运单明细Service接口
 * 
 * @author realue
 * @date 2023-11-04
 */
public interface ITspDrivingDetailService extends IService<TspDrivingDetail> {
    /**
     * 查询行车记录运单明细
     * 
     * @param id 行车记录运单明细主键
     * @return 行车记录运单明细
     */
    public TspDrivingDetail selectTspDrivingDetailById(String id);

    /**
     * 查询行车记录运单明细列表
     * 
     * @param tspDrivingDetail 行车记录运单明细
     * @return 行车记录运单明细集合
     */
    public List<TspDrivingDetail> selectTspDrivingDetailList(TspDrivingDetail tspDrivingDetail);

    /**
     * 新增行车记录运单明细
     * 
     * @param tspDrivingDetail 行车记录运单明细
     * @return 结果
     */
    public int insertTspDrivingDetail(TspDrivingDetail tspDrivingDetail);

    /**
     * 修改行车记录运单明细
     * 
     * @param tspDrivingDetail 行车记录运单明细
     * @return 结果
     */
    public int updateTspDrivingDetail(TspDrivingDetail tspDrivingDetail);

    /**
     * 批量删除行车记录运单明细
     * 
     * @param ids 需要删除的行车记录运单明细主键集合
     * @return 结果
     */
    public int deleteTspDrivingDetailByIds(String[] ids);

    /**
     * 删除行车记录运单明细信息
     * 
     * @param id 行车记录运单明细主键
     * @return 结果
     */
    public int deleteTspDrivingDetailById(String id);
}
